package com.ying.user.dao;

import com.ying.user.entity.MmUserRole;
import com.ying.user.entity.MmUserRoleKey;
import com.ying.user.entity.MmUserRoleQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MmUserRoleDao {
    /**
     *
     * @mbg.generated 2020-07-13
     */
    long countByQuery(MmUserRoleQuery example);

    /**
     *
     * @mbg.generated 2020-07-13
     */
    int deleteByQuery(MmUserRoleQuery example);

    /**
     *
     * @mbg.generated 2020-07-13
     */
    int deleteByPrimaryKey(MmUserRoleKey key);

    /**
     *
     * @mbg.generated 2020-07-13
     */
    int insert(MmUserRole record);

    /**
     *
     * @mbg.generated 2020-07-13
     */
    int insertSelective(MmUserRole record);

    /**
     *
     * @mbg.generated 2020-07-13
     */
    List<MmUserRole> selectByQuery(MmUserRoleQuery example);

    /**
     *
     * @mbg.generated 2020-07-13
     */
    MmUserRole selectByPrimaryKey(MmUserRoleKey key);

    /**
     *
     * @mbg.generated 2020-07-13
     */
    int updateByQuerySelective(@Param("record") MmUserRole record, @Param("example") MmUserRoleQuery example);

    /**
     *
     * @mbg.generated 2020-07-13
     */
    int updateByQuery(@Param("record") MmUserRole record, @Param("example") MmUserRoleQuery example);

    /**
     *
     * @mbg.generated 2020-07-13
     */
    int updateByPrimaryKeySelective(MmUserRole record);

    /**
     *
     * @mbg.generated 2020-07-13
     */
    int updateByPrimaryKey(MmUserRole record);
}